home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / apidev / sc3x04.exe / ADDTRUST.DOC < prev    next >
Text File  |  1993-04-19  |  1KB  |  38 lines

  1.  
  2.                Add Extended Trustee To Directory Or File
  3.  
  4.     This function adds a trustee and sets the trustee rights for a file
  5.     or directory.
  6.  
  7.     Function 22 (16h)
  8.   
  9.     Request Buffer
  10.  
  11.         Offset   Request Packet Contents        Bytes    Remarks
  12.         ------   ---------------------------    -----    -------
  13.         0        Sub-function Structure Len     2        Length
  14.         2        39 (27h)                       1
  15.         3        Directory Handle               1
  16.         4        Object ID                      4        Hi/Lo
  17.         8        Trustee Rights                 2
  18.         10       Path Length                    1        
  19.         11       Path                           var      Path Length
  20.  
  21.     Reply Buffer
  22.  
  23.         Not required.
  24.                 
  25.     Trustee Rights (for combinations, or them together):
  26.  
  27.         None       0x0000
  28.         Read       0x0001
  29.         Write      0x0002
  30.         Create     0x0008
  31.         Erase      0x0010
  32.         Access     0x0020
  33.         File       0x0040
  34.         Modify     0x0080
  35.         Supervisor 0x0100
  36.         Normal     0x00FF
  37.         All        0x01FF
  38.